<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]) . "/SmartTuition/SmartTuition.Model"; 
// including base class, EntityWithID
require_once("$root/Models/Base/EntityWithID.php");

class Role extends EntityWithID
{
    private $name;

    function __construct($role_id,$role_name) {
        parent::__construct($role_id);
        $this->name = $role_name;
        $this->columns = "Name";
    }

    public function  getName() {
        return $this->name;
    }

    public function setName($role_name) {
        $this->name = $role_name;
    }

    public function getValues() {
        $str = "'" . $this->name . "'";
        return $str;
    }
}